package service

import "SkyPath/internal/domain/user/entry"

type UserDomianService interface {

	//根据id查询用户信息
	GetUserById(id int) (*entry.User, error)

	//根据账号查询用户信息
	GetUserByAccount(account string) (*entry.User, error)

	//根据邮箱查询用户信息
	GetUserByEmail(email string) (*entry.User, error)

	//根据手机号查询用户信息
	GetUserByPhone(phone string) (*entry.User, error)

	//根据账号查询用户信息
	GetUserByName(name string) (*entry.User, error)
}
